<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of admin
 *
 * @author QUYET
 */
class Admin extends Admin_Controller {
    //put your code here
    function __construct() {
        parent::__construct();
        $this->load->library('categories_lib');
    }
    function index(){
        $this->media_listing();
    }
    function media_listing(){
        $this->data['module_title'] = 'Media listing';
        $this->template
                ->build('admin/listing',$this->data);
    }
    function media_tree_data() {
        $cat_tree = $this->categories_lib->build_gicms_category_tree(4);
        print_r($cat_tree);
    }
    function upload_files(){
        $this->data['module_title'] = 'Upload đi Tùng Bún';
        $this->template
                ->build('admin/upload_files',$this->data);
    }
}

?>
